import java.util.Random;
import java.util.Scanner;

public class GuessNumber {
    public static void main(String[] args){
        int randomNumber = new Random().nextInt(10);
        System.out.println("you can start the game");
        Scanner sc = new Scanner (System.in);
        int enterNumber = sc.nextInt();
        System.out.println("import the number what you guess");
        while(enterNumber != randomNumber){
            if(enterNumber > randomNumber){
                System.out.println("what you guess is too bigger!\ndo it again!"); 
            }
            else{
                System.out.println("what you guess is too smammer!\ndo it again!"); 
            }
            System.out.println("now you can import your number: ");
            enterNumber = sc.nextInt(); 
        }
        System.out.println("bro,you win this game");

    }
}
